package com.johson.covid19server.controller;

import lombok.extern.slf4j.Slf4j;
import com.johson.covid19server.pojo.CovidCase;
import com.johson.covid19server.service.CovidCaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.stereotype.Controller;
import java.util.List;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

@Slf4j
@Controller
public class WebPages {

    @RequestMapping("covid19")
    public String index() {
        return "covid19";
    }

}